package com.hq.shcrm.mapper;

import com.hq.shcrm.pojo.MonthIncome;
import com.hq.shcrm.pojo.TCourseOrder;
import com.hq.shcrm.pojo.TCourseOrderExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface TCourseOrderMapper {

    public int findCountByMap(Map<String,Object> map);
    /** 返回数据列表*/
    public List<TCourseOrder> findListByMap(Map<String,Object> map);

    int countByExample(TCourseOrderExample example);

    int deleteByExample(TCourseOrderExample example);

    TCourseOrder findbyOrderId(String order_id);

    public void insert(TCourseOrder record);

    void deleteByOrderId(String order_id);

    int insertSelective(TCourseOrder record);

    List<TCourseOrder> selectByExampleWithBLOBs(TCourseOrderExample example);

    List<TCourseOrder> selectByExample(TCourseOrderExample example);

    int updateByExampleSelective(@Param("record") TCourseOrder record, @Param("example") TCourseOrderExample example);

    int updateByExampleWithBLOBs(@Param("record") TCourseOrder record, @Param("example") TCourseOrderExample example);

    int updateByExample(@Param("record") TCourseOrder record, @Param("example") TCourseOrderExample example);

    void updateByOrderId(TCourseOrder order);

    List<MonthIncome> getMonthIncomes();
}